﻿using System.Data;
using Navigant.Infrastructure.Cases;
using Navigant.Infrastructure.DomainBase;

namespace Navigant.Infrastructure.EntityFactoryFramework
{
    public interface IEntityFactory<T> where T : IEntity, ICaseChildItem
    {
        T BuildEntity(IDataReader reader, ICase parentCase);
        void LoadExtendedProperties(IDataReader reader, T entity);
    }
}
